A placeholder is a section of text that is placed in a document, temporarily until the final text is inserted there at a later stage.
In our context, placeholders are there to identify variables (name, email, etc ...) mainly in email templates but sometimes also elsewhere.
In all cases, the available placeholders are always specified when they can be used.
For example, let's say you to start your template with Hello followed by the name of your customer.
Just write as below and leave your cursor one blank space after Hello.
Then click on Customer name, this will automatically insert your placeholder in the right place.
It's as simple as that. All you have to do is save your template.
Since version 3.1.7, you can use custom fields as placeholders in your email templates and in Setting > Email notifications.
The principle is simple, you take the id of your custom field (eg id: custom-field1) and paste it to #field_.
#field_custom-field1 will be identified as any other placeholder available in your editor.
#service_name The name of the service you want to display.
#current_category_name Represents the category selected by a customer.
#category_names Shows all the categories to which service belong.
#customer_name The name of your customer.
#appointment_day The selected date of the booking.
#appointment_time The selected time of the booking.
#appointment_local_date Displays the selected booking date converted to the customer’s time zone.
#appointment_local_time Displays the selected booking time converted to the customer’s time zone.
Displays the identification number of the customer’s reservation.
#customer_phone Displays the phone number of your customer.
#customer_email Displays the email of your customer.
#customer_comment Displays the comment left from your customer.
#customer_custom Displays the custom data you defined using custom fields.
#items_count
#selected_count Displays the count of time slots booked in Multiple mode Displays the number of items/places reserved
.#total_amount The total amount to pay for your customer.
#payment_link The link to direct your customer to the payment page.
#cancel_link The link to allow your customer the cancellation of his booking.
#tomorrow_agenda Displays all the bookings for the next day. Convenient for the administrator or staff.
#group_customer_name List of the customers concerned by the booking.
[appointment_loop_start][appointment_loop_end] To use in case you allow multiple booking in one session. Put the date and time in between.
#admin_cancel_link In case you want to cancel your customer booking. To use in administrator email notification. It may be more convenient in some case.
#admin_approve_link In case you want to approve manually your customer booking. To use in administrator email notification. It may be more convenient in some case.
#add_event_link This link will automatically create an event into the Google calendar from your customer.
#time_range In case you want to display in start-end format the time of the booking.
#timerange
Only available with ‘Multiple bookings in one session’ enabled.
The time range placeholder would contain11:00 am – 3:00 pm if you would have selected the range of time slots from 11:00 am to 3:00 pm.
#timedaterange
Only available with ‘Multiple bookings in one session’ enabled.
The time range placeholder would contain May 1, 2019 11:00 am – May 1, 2019 3:00 pm if you would have selected the range of time slots from 11:00 am to 3:00 pm.
#duration
Displays the time allocated to the reservation.
These are the placeholders you can use in your emails subjects.
#service_name The name of the service you want to display.
#category_names The name of the category you want to display.
#customer_name The name of your customer.
#appointment_day The selected date of the booking.
#appointment_time The selected time of the booking.
#appointment_local_date Displays the selected booking date converted to the customer’s time zone.
#appointment_local_time Displays the selected booking time converted to the customer’s time zone.
#appointment_id Displays the identification number of the customer’s reservation.
#customer_phone Displays the phone number of your customer.
#customer_email Displays the email of your customer.
#customer_comment Displays the comment left from your customer.
#customer_custom Displays the custom data you defined using custom fields.
#items_count Displays the number of items/places reserved.
#total_amount The total amount to pay by your customer.
#group_customer_name List of the customers concerned by the booking.
[appointment_loop_start][appointment_loop_end] To use in case you allow multiple booking in one session. Put the date and time in between.
#time_range In case you want to display in start-end format the time of the booking.
#subtotal_amountShow the price before tax #tax_amount Show how the amount of is tax in price #one_slot_price Price of one slot #status The status of appointment
Example: For a price of $200 and tax of 10: #subtotal_amount will show $200 and #tax_amount will show $20.